<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: node-flick   NodeFlick.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>node-flick&nbsp; <span class="subtitle">3.3.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_node-flick.html" title="node-flick">node-flick</a>
                
                 &gt; NodeFlick.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="cm">/**</span>
<span class="cm"> * Provide a simple Flick plugin, which can be used along with the &quot;flick&quot; gesture event, to </span>
<span class="cm"> * animate the motion of the host node in response to a (mouse or touch) flick gesture. </span>
<span class="cm"> * </span>
<span class="cm"> * &lt;p&gt;The current implementation is designed to move the node, relative to the bounds of a parent node and is suitable</span>
<span class="cm"> * for scroll/carousel type implementations. Future versions will remove that constraint, to allow open ended movement within</span>
<span class="cm"> * the document.&lt;/p&gt;</span>
<span class="cm"> *</span>
<span class="cm"> * @module node-flick</span>
<span class="cm"> */</span>

    <span class="kd">var</span> <span class="nx">HOST</span> <span class="o">=</span> <span class="s2">&quot;host&quot;</span><span class="p">,</span>
        <span class="nx">PARENT_NODE</span> <span class="o">=</span> <span class="s2">&quot;parentNode&quot;</span><span class="p">,</span>
        <span class="nx">BOUNDING_BOX</span> <span class="o">=</span> <span class="s2">&quot;boundingBox&quot;</span><span class="p">,</span>
        <span class="nx">OFFSET_HEIGHT</span> <span class="o">=</span> <span class="s2">&quot;offsetHeight&quot;</span><span class="p">,</span>
        <span class="nx">OFFSET_WIDTH</span> <span class="o">=</span> <span class="s2">&quot;offsetWidth&quot;</span><span class="p">,</span>
        <span class="nx">SCROLL_HEIGHT</span> <span class="o">=</span> <span class="s2">&quot;scrollHeight&quot;</span><span class="p">,</span>
        <span class="nx">SCROLL_WIDTH</span> <span class="o">=</span> <span class="s2">&quot;scrollWidth&quot;</span><span class="p">,</span>
        <span class="nx">BOUNCE</span> <span class="o">=</span> <span class="s2">&quot;bounce&quot;</span><span class="p">,</span>
        <span class="nx">MIN_DISTANCE</span> <span class="o">=</span> <span class="s2">&quot;minDistance&quot;</span><span class="p">,</span>
        <span class="nx">MIN_VELOCITY</span> <span class="o">=</span> <span class="s2">&quot;minVelocity&quot;</span><span class="p">,</span>
        <span class="nx">BOUNCE_DISTANCE</span> <span class="o">=</span> <span class="s2">&quot;bounceDistance&quot;</span><span class="p">,</span>
        <span class="nx">DECELERATION</span> <span class="o">=</span> <span class="s2">&quot;deceleration&quot;</span><span class="p">,</span>
        <span class="nx">STEP</span> <span class="o">=</span> <span class="s2">&quot;step&quot;</span><span class="p">,</span>
        <span class="nx">DURATION</span> <span class="o">=</span> <span class="s2">&quot;duration&quot;</span><span class="p">,</span>
        <span class="nx">EASING</span> <span class="o">=</span> <span class="s2">&quot;easing&quot;</span><span class="p">,</span>
        <span class="nx">FLICK</span> <span class="o">=</span> <span class="s2">&quot;flick&quot;</span><span class="p">,</span>
        
        <span class="nx">getClassName</span> <span class="o">=</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">ClassNameManager</span><span class="p">.</span><span class="nx">getClassName</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * A plugin class which can be used to animate the motion of a node, in response to a flick gesture.</span>
<span class="cm">     * </span>
<span class="cm">     * @class Flick</span>
<span class="cm">     * @namespace Plugin</span>
<span class="cm">     * @param {Object} config The initial attribute values for the plugin</span>
<span class="cm">     */</span>
    <span class="kd">function</span> <span class="nx">Flick</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">Flick</span><span class="p">.</span><span class="nx">superclass</span><span class="p">.</span><span class="nx">constructor</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
    <span class="p">}</span>

    <span class="nx">Flick</span><span class="p">.</span><span class="nx">ATTRS</span> <span class="o">=</span> <span class="p">{</span>

        <span class="cm">/**</span>
<span class="cm">         * Drag coefficent for inertial scrolling. The closer to 1 this</span>
<span class="cm">         * value is, the less friction during scrolling.</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute deceleration</span>
<span class="cm">         * @default 0.98</span>
<span class="cm">         */</span>
        <span class="nx">deceleration</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span> <span class="mf">0.98</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Drag coefficient for intertial scrolling at the upper</span>
<span class="cm">         * and lower boundaries of the scrollview. Set to 0 to </span>
<span class="cm">         * disable &quot;rubber-banding&quot;.</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute bounce</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 0.7</span>
<span class="cm">         */</span>
        <span class="nx">bounce</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span> <span class="mf">0.7</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The bounce distance in pixels</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute bounceDistance</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 150</span>
<span class="cm">         */</span>
        <span class="nx">bounceDistance</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span> <span class="mi">150</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The minimum flick gesture velocity (px/ms) at which to trigger the flick response</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute minVelocity</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 0</span>
<span class="cm">         */</span>
        <span class="nx">minVelocity</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span> <span class="mi">0</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The minimum flick gesture distance (px) for which to trigger the flick response</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute minVelocity</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 10</span>
<span class="cm">         */</span>
        <span class="nx">minDistance</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span> <span class="mi">10</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The constraining box relative to which the flick animation and bounds should be calculated.</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute boundingBox</span>
<span class="cm">         * @type Node</span>
<span class="cm">         * @default parentNode</span>
<span class="cm">         */</span>
        <span class="nx">boundingBox</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">valueFn</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
                <span class="k">return</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">).</span><span class="nx">get</span><span class="p">(</span><span class="nx">PARENT_NODE</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The constraining box relative to which the flick animation and bounds should be calculated.</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute boundingBox</span>
<span class="cm">         * @type Node</span>
<span class="cm">         * @default parentNode</span>
<span class="cm">         */</span>
        <span class="nx">step</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span><span class="mi">10</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The custom duration to apply to the flick animation. By default,</span>
<span class="cm">         * the animation duration is controlled by the deceleration factor.</span>
<span class="cm">         *</span>
<span class="cm">         * @attribute duration</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default null</span>
<span class="cm">         */</span>
        <span class="nx">duration</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span><span class="kc">null</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The custom transition easing to use for the flick animation. If not</span>
<span class="cm">         * provided defaults to internally to Flick.EASING, or Flick.SNAP_EASING based</span>
<span class="cm">         * on whether or not we&#39;re animating the flick or bounce step. </span>
<span class="cm">         *</span>
<span class="cm">         * @attribute easing</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @default null</span>
<span class="cm">         */</span>
        <span class="nx">easing</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">value</span><span class="o">:</span><span class="kc">null</span>
        <span class="p">}</span>
    <span class="p">};</span>

    <span class="cm">/**</span>
<span class="cm">     * The NAME of the Flick class. Used to prefix events generated</span>
<span class="cm">     * by the plugin.</span>
<span class="cm">     *</span>
<span class="cm">     * @property Flick.NAME</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @default &quot;pluginFlick&quot;</span>
<span class="cm">     */</span>
    <span class="nx">Flick</span><span class="p">.</span><span class="nx">NAME</span> <span class="o">=</span> <span class="s2">&quot;pluginFlick&quot;</span><span class="p">;</span>

    <span class="cm">/**</span>
<span class="cm">     * The namespace for the plugin. This will be the property on the node, which will </span>
<span class="cm">     * reference the plugin instance, when it&#39;s plugged in.</span>
<span class="cm">     *</span>
<span class="cm">     * @property Flick.NS</span>
<span class="cm">     * @static</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @default &quot;flick&quot;</span>
<span class="cm">     */</span>
    <span class="nx">Flick</span><span class="p">.</span><span class="nx">NS</span> <span class="o">=</span> <span class="s2">&quot;flick&quot;</span><span class="p">;</span>

    <span class="nx">Y</span><span class="p">.</span><span class="nx">extend</span><span class="p">(</span><span class="nx">Flick</span><span class="p">,</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Plugin</span><span class="p">.</span><span class="nx">Base</span><span class="p">,</span> <span class="p">{</span>

        <span class="cm">/**</span>
<span class="cm">         * The initializer lifecycle implementation.</span>
<span class="cm">         *</span>
<span class="cm">         * @method initializer</span>
<span class="cm">         * @param {Object} config The user configuration for the plugin  </span>
<span class="cm">         */</span>
        <span class="nx">initializer</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_node</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">);</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_renderClasses</span><span class="p">();</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">setBounds</span><span class="p">();</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_node</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="nx">FLICK</span><span class="p">,</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_onFlick</span><span class="p">,</span> <span class="k">this</span><span class="p">),</span> <span class="p">{</span>
                <span class="nx">minDistance</span> <span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">MIN_DISTANCE</span><span class="p">),</span>
                <span class="nx">minVelocity</span> <span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">MIN_VELOCITY</span><span class="p">)</span>
            <span class="p">});</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Sets the min/max boundaries for the flick animation,</span>
<span class="cm">         * based on the boundingBox dimensions.</span>
<span class="cm">         * </span>
<span class="cm">         * @method setBounds</span>
<span class="cm">         */</span>
        <span class="nx">setBounds</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">box</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNDING_BOX</span><span class="p">),</span>
                <span class="nx">node</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_node</span><span class="p">,</span>

                <span class="nx">boxHeight</span> <span class="o">=</span> <span class="nx">box</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">OFFSET_HEIGHT</span><span class="p">),</span>
                <span class="nx">boxWidth</span> <span class="o">=</span> <span class="nx">box</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">OFFSET_WIDTH</span><span class="p">),</span>

                <span class="nx">contentHeight</span> <span class="o">=</span> <span class="nx">node</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">SCROLL_HEIGHT</span><span class="p">),</span>
                <span class="nx">contentWidth</span> <span class="o">=</span> <span class="nx">node</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">SCROLL_WIDTH</span><span class="p">);</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">contentHeight</span> <span class="o">&gt;</span> <span class="nx">boxHeight</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_maxY</span> <span class="o">=</span> <span class="nx">contentHeight</span> <span class="o">-</span> <span class="nx">boxHeight</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_minY</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_scrollY</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="p">}</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">contentWidth</span> <span class="o">&gt;</span> <span class="nx">boxWidth</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_maxX</span> <span class="o">=</span> <span class="nx">contentWidth</span> <span class="o">-</span> <span class="nx">boxWidth</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_minX</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_scrollX</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="p">}</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_x</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_y</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>

            <span class="nx">node</span><span class="p">.</span><span class="nx">set</span><span class="p">(</span><span class="s2">&quot;top&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_y</span> <span class="o">+</span> <span class="s2">&quot;px&quot;</span><span class="p">);</span>
            <span class="nx">node</span><span class="p">.</span><span class="nx">set</span><span class="p">(</span><span class="s2">&quot;left&quot;</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_x</span> <span class="o">+</span> <span class="s2">&quot;px&quot;</span><span class="p">);</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Adds the CSS classes, necessary to set up overflow/position properties on the</span>
<span class="cm">         * node and boundingBox. </span>
<span class="cm">         *</span>
<span class="cm">         * @method _renderClasses</span>
<span class="cm">         * @protected</span>
<span class="cm">         */</span>
        <span class="nx">_renderClasses</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNDING_BOX</span><span class="p">).</span><span class="nx">addClass</span><span class="p">(</span><span class="nx">Flick</span><span class="p">.</span><span class="nx">CLASS_NAMES</span><span class="p">.</span><span class="nx">box</span><span class="p">);</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_node</span><span class="p">.</span><span class="nx">addClass</span><span class="p">(</span><span class="nx">Flick</span><span class="p">.</span><span class="nx">CLASS_NAMES</span><span class="p">.</span><span class="nx">content</span><span class="p">);</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * The flick event listener. Kicks off the flick animation.</span>
<span class="cm">         *</span>
<span class="cm">         * @method _onFlick</span>
<span class="cm">         * @param e {EventFacade} The flick event facade, containing e.flick.distance, e.flick.velocity etc.</span>
<span class="cm">         * @protected</span>
<span class="cm">         */</span>
        <span class="nx">_onFlick</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_v</span> <span class="o">=</span> <span class="nx">e</span><span class="p">.</span><span class="nx">flick</span><span class="p">.</span><span class="nx">velocity</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_flick</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_flickAnim</span><span class="p">();</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Executes a single frame in the flick animation</span>
<span class="cm">         *</span>
<span class="cm">         * @method _flickFrame</span>
<span class="cm">         * @protected</span>
<span class="cm">         */</span>
        <span class="nx">_flickAnim</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>

            <span class="kd">var</span> <span class="nx">y</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_y</span><span class="p">,</span>
                <span class="nx">x</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_x</span><span class="p">,</span>

                <span class="nx">maxY</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_maxY</span><span class="p">,</span>
                <span class="nx">minY</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_minY</span><span class="p">,</span>
                <span class="nx">maxX</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_maxX</span><span class="p">,</span>
                <span class="nx">minX</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_minX</span><span class="p">,</span>
                <span class="nx">velocity</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_v</span><span class="p">,</span>

                <span class="nx">step</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">STEP</span><span class="p">),</span>
                <span class="nx">deceleration</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">DECELERATION</span><span class="p">),</span>
                <span class="nx">bounce</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNCE</span><span class="p">);</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_v</span> <span class="o">=</span> <span class="p">(</span><span class="nx">velocity</span> <span class="o">*</span> <span class="nx">deceleration</span><span class="p">);</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>

            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollX</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">x</span> <span class="o">=</span> <span class="nx">x</span> <span class="o">-</span> <span class="p">(</span><span class="nx">velocity</span> <span class="o">*</span> <span class="nx">step</span><span class="p">);</span>
            <span class="p">}</span>
    
            <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollY</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">y</span> <span class="o">=</span> <span class="nx">y</span> <span class="o">-</span> <span class="p">(</span><span class="nx">velocity</span> <span class="o">*</span> <span class="nx">step</span><span class="p">);</span>
            <span class="p">}</span>

            <span class="k">if</span> <span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">abs</span><span class="p">(</span><span class="nx">velocity</span><span class="p">).</span><span class="nx">toFixed</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span> <span class="o">&lt;=</span> <span class="nx">Flick</span><span class="p">.</span><span class="nx">VELOCITY_THRESHOLD</span><span class="p">)</span> <span class="p">{</span>

                <span class="k">this</span><span class="p">.</span><span class="nx">_flick</span> <span class="o">=</span> <span class="kc">false</span><span class="p">;</span>

                <span class="k">this</span><span class="p">.</span><span class="nx">_killTimer</span><span class="p">(</span><span class="o">!</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_exceededYBoundary</span> <span class="o">||</span> <span class="k">this</span><span class="p">.</span><span class="nx">_exceededXBoundary</span><span class="p">));</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollX</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o">&lt;</span> <span class="nx">minX</span><span class="p">)</span> <span class="p">{</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_setX</span><span class="p">(</span><span class="nx">minX</span><span class="p">);</span>
                    <span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o">&gt;</span> <span class="nx">maxX</span><span class="p">)</span> <span class="p">{</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_setX</span><span class="p">(</span><span class="nx">maxX</span><span class="p">);</span>
                    <span class="p">}</span>
                <span class="p">}</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollY</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o">&lt;</span> <span class="nx">minY</span><span class="p">)</span> <span class="p">{</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_setY</span><span class="p">(</span><span class="nx">minY</span><span class="p">);</span>
                    <span class="p">}</span> <span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o">&gt;</span> <span class="nx">maxY</span><span class="p">)</span> <span class="p">{</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                        <span class="k">this</span><span class="p">.</span><span class="nx">_setY</span><span class="p">(</span><span class="nx">maxY</span><span class="p">);</span>
                    <span class="p">}</span>
                <span class="p">}</span>

            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollX</span> <span class="o">&amp;&amp;</span> <span class="p">(</span><span class="nx">x</span> <span class="o">&lt;</span> <span class="nx">minX</span> <span class="o">||</span> <span class="nx">x</span> <span class="o">&gt;</span> <span class="nx">maxX</span><span class="p">))</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_exceededXBoundary</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_v</span> <span class="o">*=</span> <span class="nx">bounce</span><span class="p">;</span>
                <span class="p">}</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollY</span> <span class="o">&amp;&amp;</span> <span class="p">(</span><span class="nx">y</span> <span class="o">&lt;</span> <span class="nx">minY</span> <span class="o">||</span> <span class="nx">y</span> <span class="o">&gt;</span> <span class="nx">maxY</span><span class="p">))</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_exceededYBoundary</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_v</span> <span class="o">*=</span> <span class="nx">bounce</span><span class="p">;</span>
                <span class="p">}</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollX</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_setX</span><span class="p">(</span><span class="nx">x</span><span class="p">);</span>
                <span class="p">}</span>

                <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_scrollY</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">this</span><span class="p">.</span><span class="nx">_setY</span><span class="p">(</span><span class="nx">y</span><span class="p">);</span>
                <span class="p">}</span>

                <span class="k">this</span><span class="p">.</span><span class="nx">_flickTimer</span> <span class="o">=</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">later</span><span class="p">(</span><span class="nx">step</span><span class="p">,</span> <span class="k">this</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_flickAnim</span><span class="p">);</span>
            <span class="p">}</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Internal utility method to set the X offset position</span>
<span class="cm">         *</span>
<span class="cm">         * @param {Number} val</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_setX</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">val</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_move</span><span class="p">(</span><span class="nx">val</span><span class="p">,</span> <span class="kc">null</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">DURATION</span><span class="p">),</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">EASING</span><span class="p">));</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Internal utility method to set the Y offset position</span>
<span class="cm">         * </span>
<span class="cm">         * @param {Number} val</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_setY</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">val</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_move</span><span class="p">(</span><span class="kc">null</span><span class="p">,</span> <span class="nx">val</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">DURATION</span><span class="p">),</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">EASING</span><span class="p">));</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Internal utility method to move the node to a given XY position,</span>
<span class="cm">         * using transitions, if specified.</span>
<span class="cm">         *</span>
<span class="cm">         * @param {Number} x The X offset position</span>
<span class="cm">         * @param {Number} y The Y offset position</span>
<span class="cm">         * @param {Number} duration The duration to use for the transition animation</span>
<span class="cm">         * @param {String} easing The easing to use for the transition animation.</span>
<span class="cm">         *</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_move</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">,</span> <span class="nx">duration</span><span class="p">,</span> <span class="nx">easing</span><span class="p">)</span> <span class="p">{</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">x</span> <span class="o">!==</span> <span class="kc">null</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">x</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_bounce</span><span class="p">(</span><span class="nx">x</span><span class="p">);</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="nx">x</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_x</span><span class="p">;</span> 
            <span class="p">}</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">y</span> <span class="o">!==</span> <span class="kc">null</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">y</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_bounce</span><span class="p">(</span><span class="nx">y</span><span class="p">);</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="nx">y</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_y</span><span class="p">;</span>
            <span class="p">}</span>

            <span class="nx">duration</span> <span class="o">=</span> <span class="nx">duration</span> <span class="o">||</span> <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">?</span> <span class="nx">Flick</span><span class="p">.</span><span class="nx">SNAP_DURATION</span> <span class="o">:</span> <span class="mi">0</span><span class="p">;</span>
            <span class="nx">easing</span> <span class="o">=</span> <span class="nx">easing</span> <span class="o">||</span> <span class="k">this</span><span class="p">.</span><span class="nx">_snapToEdge</span> <span class="o">?</span> <span class="nx">Flick</span><span class="p">.</span><span class="nx">SNAP_EASING</span> <span class="o">:</span> <span class="nx">Flick</span><span class="p">.</span><span class="nx">EASING</span><span class="p">;</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_x</span> <span class="o">=</span> <span class="nx">x</span><span class="p">;</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">_y</span> <span class="o">=</span> <span class="nx">y</span><span class="p">;</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_anim</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">,</span> <span class="nx">duration</span><span class="p">,</span> <span class="nx">easing</span><span class="p">);</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Internal utility method to perform the transition step</span>
<span class="cm">         *</span>
<span class="cm">         * @param {Number} x The X offset position</span>
<span class="cm">         * @param {Number} y The Y offset position</span>
<span class="cm">         * @param {Number} duration The duration to use for the transition animation</span>
<span class="cm">         * @param {String} easing The easing to use for the transition animation.</span>
<span class="cm">         *</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_anim</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span> <span class="nx">y</span><span class="p">,</span> <span class="nx">duration</span><span class="p">,</span> <span class="nx">easing</span><span class="p">)</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">xn</span> <span class="o">=</span> <span class="nx">x</span> <span class="o">*</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span>
                <span class="nx">yn</span> <span class="o">=</span> <span class="nx">y</span> <span class="o">*</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span>

                <span class="nx">transition</span> <span class="o">=</span> <span class="p">{</span>
                    <span class="nx">duration</span> <span class="o">:</span> <span class="nx">duration</span> <span class="o">/</span> <span class="mi">1000</span><span class="p">,</span>
                    <span class="nx">easing</span> <span class="o">:</span> <span class="nx">easing</span>
                <span class="p">};</span>

            <span class="nx">Y</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="s2">&quot;Transition: duration, easing:&quot;</span> <span class="o">+</span> <span class="nx">transition</span><span class="p">.</span><span class="nx">duration</span><span class="p">,</span> <span class="nx">transition</span><span class="p">.</span><span class="nx">easing</span><span class="p">,</span> <span class="s2">&quot;node-flick&quot;</span><span class="p">);</span>

            <span class="k">if</span> <span class="p">(</span><span class="nx">Y</span><span class="p">.</span><span class="nx">Transition</span><span class="p">.</span><span class="nx">useNative</span><span class="p">)</span> <span class="p">{</span>
                <span class="nx">transition</span><span class="p">.</span><span class="nx">transform</span> <span class="o">=</span> <span class="s1">&#39;translate(&#39;</span><span class="o">+</span> <span class="p">(</span><span class="nx">xn</span><span class="p">)</span> <span class="o">+</span> <span class="s1">&#39;px,&#39;</span> <span class="o">+</span> <span class="p">(</span><span class="nx">yn</span><span class="p">)</span> <span class="o">+</span><span class="s1">&#39;px)&#39;</span><span class="p">;</span> 
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="nx">transition</span><span class="p">.</span><span class="nx">left</span> <span class="o">=</span> <span class="nx">xn</span> <span class="o">+</span> <span class="s1">&#39;px&#39;</span><span class="p">;</span>
                <span class="nx">transition</span><span class="p">.</span><span class="nx">top</span> <span class="o">=</span> <span class="nx">yn</span> <span class="o">+</span> <span class="s1">&#39;px&#39;</span><span class="p">;</span>
            <span class="p">}</span>

            <span class="k">this</span><span class="p">.</span><span class="nx">_node</span><span class="p">.</span><span class="nx">transition</span><span class="p">(</span><span class="nx">transition</span><span class="p">);</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Internal utility method to constrain the offset value</span>
<span class="cm">         * based on the bounce criteria. </span>
<span class="cm">         *</span>
<span class="cm">         * @param {Number} x The offset value to constrain.</span>
<span class="cm">         * @param {Number} max The max offset value.</span>
<span class="cm">         *</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_bounce</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">val</span><span class="p">,</span> <span class="nx">max</span><span class="p">)</span> <span class="p">{</span>
            <span class="kd">var</span> <span class="nx">bounce</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNCE</span><span class="p">),</span>
                <span class="nx">dist</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNCE_DISTANCE</span><span class="p">),</span>
                <span class="nx">min</span> <span class="o">=</span> <span class="nx">bounce</span> <span class="o">?</span> <span class="o">-</span><span class="nx">dist</span> <span class="o">:</span> <span class="mi">0</span><span class="p">;</span>

            <span class="nx">max</span> <span class="o">=</span> <span class="nx">bounce</span> <span class="o">?</span> <span class="nx">max</span> <span class="o">+</span> <span class="nx">dist</span> <span class="o">:</span> <span class="nx">max</span><span class="p">;</span>
    
            <span class="k">if</span><span class="p">(</span><span class="o">!</span><span class="nx">bounce</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">if</span><span class="p">(</span><span class="nx">val</span> <span class="o">&lt;</span> <span class="nx">min</span><span class="p">)</span> <span class="p">{</span>
                    <span class="nx">val</span> <span class="o">=</span> <span class="nx">min</span><span class="p">;</span>
                <span class="p">}</span> <span class="k">else</span> <span class="k">if</span><span class="p">(</span><span class="nx">val</span> <span class="o">&gt;</span> <span class="nx">max</span><span class="p">)</span> <span class="p">{</span>
                    <span class="nx">val</span> <span class="o">=</span> <span class="nx">max</span><span class="p">;</span>
                <span class="p">}</span>            
            <span class="p">}</span>
            <span class="k">return</span> <span class="nx">val</span><span class="p">;</span>
        <span class="p">},</span>

        <span class="cm">/**</span>
<span class="cm">         * Stop the animation timer</span>
<span class="cm">         *</span>
<span class="cm">         * @method _killTimer</span>
<span class="cm">         * @private</span>
<span class="cm">         */</span>
        <span class="nx">_killTimer</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
            <span class="k">if</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">_flickTimer</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_flickTimer</span><span class="p">.</span><span class="nx">cancel</span><span class="p">();</span>
            <span class="p">}</span>
        <span class="p">}</span>

    <span class="p">},</span> <span class="p">{</span>

        <span class="cm">/**</span>
<span class="cm">         * The threshold used to determine when the decelerated velocity of the node</span>
<span class="cm">         * is practically 0.</span>
<span class="cm">         *</span>
<span class="cm">         * @property Flick.VELOCITY_THRESHOLD</span>
<span class="cm">         * @static</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 0.015</span>
<span class="cm">         */</span>
        <span class="nx">VELOCITY_THRESHOLD</span> <span class="o">:</span> <span class="mf">0.015</span><span class="p">,</span>

        <span class="cm">/**</span>
<span class="cm">         * The duration to use for the bounce snap-back transition</span>
<span class="cm">         *</span>
<span class="cm">         * @property Flick.SNAP_DURATION</span>
<span class="cm">         * @static</span>
<span class="cm">         * @type Number</span>
<span class="cm">         * @default 400</span>
<span class="cm">         */</span>
         <span class="nx">SNAP_DURATION</span> <span class="o">:</span> <span class="mi">400</span><span class="p">,</span>
        
        <span class="cm">/**</span>
<span class="cm">         * The default easing to use for the main flick movement transition</span>
<span class="cm">         *</span>
<span class="cm">         * @property Flick.EASING</span>
<span class="cm">         * @static</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @default &#39;cubic-bezier(0, 0.1, 0, 1.0)&#39;</span>
<span class="cm">         */</span>
        <span class="nx">EASING</span> <span class="o">:</span> <span class="s1">&#39;cubic-bezier(0, 0.1, 0, 1.0)&#39;</span><span class="p">,</span>

        <span class="cm">/**</span>
<span class="cm">         * The default easing to use for the bounce snap-back transition</span>
<span class="cm">         *</span>
<span class="cm">         * @property Flick.SNAP_EASING</span>
<span class="cm">         * @static</span>
<span class="cm">         * @type String</span>
<span class="cm">         * @default &#39;ease-out&#39;</span>
<span class="cm">         */</span>
        <span class="nx">SNAP_EASING</span> <span class="o">:</span> <span class="s1">&#39;ease-out&#39;</span><span class="p">,</span>

        <span class="cm">/**</span>
<span class="cm">         * The default CSS class names used by the plugin</span>
<span class="cm">         *</span>
<span class="cm">         * @property Flick.CLASS_NAMES</span>
<span class="cm">         * @static</span>
<span class="cm">         * @type Object</span>
<span class="cm">         */</span>
        <span class="nx">CLASS_NAMES</span> <span class="o">:</span> <span class="p">{</span>
            <span class="nx">box</span><span class="o">:</span> <span class="nx">getClassName</span><span class="p">(</span><span class="nx">Flick</span><span class="p">.</span><span class="nx">NS</span><span class="p">),</span>
            <span class="nx">content</span><span class="o">:</span> <span class="nx">getClassName</span><span class="p">(</span><span class="nx">Flick</span><span class="p">.</span><span class="nx">NS</span><span class="p">,</span> <span class="s2">&quot;content&quot;</span><span class="p">)</span>
        <span class="p">}</span>
    <span class="p">});</span>

    <span class="nx">Y</span><span class="p">.</span><span class="nx">Plugin</span><span class="p">.</span><span class="nx">Flick</span> <span class="o">=</span> <span class="nx">Flick</span><span class="p">;</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_align-plugin.html" title="align-plugin">align-plugin</a></li>
                                <li class=""><a href="module_anim.html" title="anim">anim</a></li>
                                <li class=""><a href="module_arraysort.html" title="arraysort">arraysort</a></li>
                                <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
                                <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_base.html" title="base">base</a></li>
                                <li class=""><a href="module_cache.html" title="cache">cache</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
                                <li class=""><a href="module_collection.html" title="collection">collection</a></li>
                                <li class=""><a href="module_console.html" title="console">console</a></li>
                                <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
                                <li class=""><a href="module_dd.html" title="dd">dd</a></li>
                                <li class=""><a href="module_dial.html" title="dial">dial</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dump.html" title="dump">dump</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_escape.html" title="escape">escape</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
                                <li class=""><a href="module_event-gestures.html" title="event-gestures">event-gestures</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_event-touch.html" title="event-touch">event-touch</a></li>
                                <li class=""><a href="module_event-valuechange.html" title="event-valuechange">event-valuechange</a></li>
                                <li class=""><a href="module_highlight.html" title="highlight">highlight</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_history-deprecated.html" title="history-deprecated">history-deprecated</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_intl.html" title="intl">intl</a></li>
                                <li class=""><a href="module_io.html" title="io">io</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_jsonp.html" title="jsonp">jsonp</a></li>
                                <li class=""><a href="module_loader.html" title="loader">loader</a></li>
                                <li class=""><a href="module_node.html" title="node">node</a></li>
                                <li class="selected"><a href="module_node-flick.html" title="node-flick">node-flick</a></li>
                                <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
                                <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
                                <li class=""><a href="module_oop.html" title="oop">oop</a></li>
                                <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
                                <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
                                <li class=""><a href="module_pluginhost.html" title="pluginhost">pluginhost</a></li>
                                <li class=""><a href="module_pluginhost-base.html" title="pluginhost-base">pluginhost-base</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_querystring.html" title="querystring">querystring</a></li>
                                <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
                                <li class=""><a href="module_recordset.html" title="recordset">recordset</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_scrollview.html" title="scrollview">scrollview</a></li>
                                <li class=""><a href="module_scrollview-base.html" title="scrollview-base">scrollview-base</a></li>
                                <li class=""><a href="module_scrollview-base-ie.html" title="scrollview-base-ie">scrollview-base-ie</a></li>
                                <li class=""><a href="module_scrollview-paginator.html" title="scrollview-paginator">scrollview-paginator</a></li>
                                <li class=""><a href="module_scrollview-scrollbars.html" title="scrollview-scrollbars">scrollview-scrollbars</a></li>
                                <li class=""><a href="module_shim-plugin.html" title="shim-plugin">shim-plugin</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_sortable.html" title="sortable">sortable</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_test.html" title="test">test</a></li>
                                <li class=""><a href="module_text.html" title="text">text</a></li>
                                <li class=""><a href="module_transition.html" title="transition">transition</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_widget.html" title="widget">widget</a></li>
                                <li class=""><a href="module_widget-anim.html" title="widget-anim">widget-anim</a></li>
                                <li class=""><a href="module_widget-base-ie.html" title="widget-base-ie">widget-base-ie</a></li>
                                <li class=""><a href="module_widget-child.html" title="widget-child">widget-child</a></li>
                                <li class=""><a href="module_widget-locale.html" title="widget-locale">widget-locale</a></li>
                                <li class=""><a href="module_widget-parent.html" title="widget-parent">widget-parent</a></li>
                                <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
                                <li class=""><a href="module_widget-position-align.html" title="widget-position-align">widget-position-align</a></li>
                                <li class=""><a href="module_widget-position-constrain.html" title="widget-position-constrain">widget-position-constrain</a></li>
                                <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
                                <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
                                <li class=""><a href="module_yql.html" title="yql">yql</a></li>
                                <li class=""><a href="module_yui.html" title="yui">yui</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="Plugin.Flick.html" title="Plugin.Flick">Plugin.Flick</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class="selected"><a href="NodeFlick.js.html" title="NodeFlick.js">NodeFlick.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "private", "host": "Plugin.Flick", "name": "_anim", "url": "Plugin.Flick.html#method__anim", "type": "method"}, {"access": "private", "host": "Plugin.Flick", "name": "_bounce", "url": "Plugin.Flick.html#method__bounce", "type": "method"}, {"access": "", "host": "Plugin.Flick", "name": "bounce", "url": "Plugin.Flick.html#config_bounce", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "bounceChange", "url": "Plugin.Flick.html#event_bounceChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "bounceDistance", "url": "Plugin.Flick.html#config_bounceDistance", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "bounceDistanceChange", "url": "Plugin.Flick.html#event_bounceDistanceChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "boundingBox", "url": "Plugin.Flick.html#config_boundingBox", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "boundingBoxChange", "url": "Plugin.Flick.html#event_boundingBoxChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "deceleration", "url": "Plugin.Flick.html#config_deceleration", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "decelerationChange", "url": "Plugin.Flick.html#event_decelerationChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "duration", "url": "Plugin.Flick.html#config_duration", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "durationChange", "url": "Plugin.Flick.html#event_durationChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "easing", "url": "Plugin.Flick.html#config_easing", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "easingChange", "url": "Plugin.Flick.html#event_easingChange", "type": "event"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.CLASS_NAMES", "url": "Plugin.Flick.html#property_Flick.CLASS_NAMES", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.EASING", "url": "Plugin.Flick.html#property_Flick.EASING", "type": "property"}, {"access": "protected", "host": "Plugin.Flick", "name": "_flickFrame", "url": "Plugin.Flick.html#method__flickFrame", "type": "method"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.NAME", "url": "Plugin.Flick.html#property_Flick.NAME", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.NS", "url": "Plugin.Flick.html#property_Flick.NS", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.SNAP_DURATION", "url": "Plugin.Flick.html#property_Flick.SNAP_DURATION", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.SNAP_EASING", "url": "Plugin.Flick.html#property_Flick.SNAP_EASING", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "Flick.VELOCITY_THRESHOLD", "url": "Plugin.Flick.html#property_Flick.VELOCITY_THRESHOLD", "type": "property"}, {"access": "", "host": "Plugin.Flick", "name": "initializer", "url": "Plugin.Flick.html#method_initializer", "type": "method"}, {"access": "private", "host": "Plugin.Flick", "name": "_killTimer", "url": "Plugin.Flick.html#method__killTimer", "type": "method"}, {"access": "", "host": "Plugin.Flick", "name": "minVelocity", "url": "Plugin.Flick.html#config_minVelocity", "type": "config"}, {"access": "", "host": "Plugin.Flick", "name": "minVelocityChange", "url": "Plugin.Flick.html#event_minVelocityChange", "type": "event"}, {"access": "private", "host": "Plugin.Flick", "name": "_move", "url": "Plugin.Flick.html#method__move", "type": "method"}, {"access": "protected", "host": "Plugin.Flick", "name": "_onFlick", "url": "Plugin.Flick.html#method__onFlick", "type": "method"}, {"access": "protected", "host": "Plugin.Flick", "name": "_renderClasses", "url": "Plugin.Flick.html#method__renderClasses", "type": "method"}, {"access": "", "host": "Plugin.Flick", "name": "setBounds", "url": "Plugin.Flick.html#method_setBounds", "type": "method"}, {"access": "private", "host": "Plugin.Flick", "name": "_setX", "url": "Plugin.Flick.html#method__setX", "type": "method"}, {"access": "private", "host": "Plugin.Flick", "name": "_setY", "url": "Plugin.Flick.html#method__setY", "type": "method"}];
</script>
</body>
</html>
